<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_month.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_time.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/lib/moment.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/fullcalendar.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/zh-cn.js"></script>
		<script type="text/javascript" src="[%$ESPCMS_ADMIN_TEMPLATES_URL%]create/create.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$("#espcms_saveInfo").espcms_formvalidation();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$('#espcms_saveInfo').ajaxForm({
					beforeSubmit: function (formData) {
						var queryString = $.param(formData);
						var loadingurl = espcms_combine_url(queryString, '[%$link.window%]');
						parent.espcms_dialog('[%pack:create_pack-espcms_create_batch_title%]', 'iframe', loadingurl, '650px', '350px', 'dialogname', false, true);
						return false;
					}
				});
				load_data('.data');
				load_tabclick('.tab_click');
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<div class="section-divider mb40"><span>[%pack:create_pack-espcms_create_batch_title%]</span></div>

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_lng%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="lng" id="lng" data-size="8" title="[%pack:create_pack-espcms_create_lng_title%]" data-validation="^[\w]+$" data-validation-msg="[%pack:create_pack-espcms_create_lng_validation_msg%]">
										[%forlist from=$lng_array key=i%]
										<option value="[%$lng_array[i].lng%]">[%$lng_array[i].lngtitle%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_batch_createtimetype%]</label>
								<div class="col-sm-7 pt6">
									<input type="radio" name="createtimetype" value="1" class="tab_click" open_list=".iscreatetime_div"/><span class="pr10">[%pack:create_pack-espcms_create_batch_createtimetype_1%]</span>
									<input type="radio" name="createtimetype" value="0" class="tab_click" close_list=".iscreatetime_div" checked/><span class="pr10">[%pack:create_pack-espcms_create_batch_createtimetype_0%]</span>
								</div>
							</div>
							<div class="form-group iscreatetime_div displaynone">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_batch_createtime%]</label>
								<div class="col-sm-9">
									<input type="text" name="createtime" class="form-control data" id="createtime" data-validation="^[\d]{4}\-[\d]{1,2}\-[\d]{1,2}$" link-validation="createtimetype" link-gettype="radio" link-getvalue="1" placeholder="[%pack:create_pack-espcms_create_batch_createtime_title%]" title="[%pack:create_pack-espcms_create_batch_createtime_title%]" data-validation-msg="[%pack:create_pack-espcms_create_batch_createtime_validation_msg%]"/>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_batch_createrang%]</label>
								<div class="col-sm-7 pt6">
									<input type="radio" name="createrang" value="1"/><span class="pr10">[%pack:create_pack-espcms_create_batch_createrang_1%]</span>
									<input type="radio" name="createrang" value="0" checked/><span class="pr10">[%pack:create_pack-espcms_create_batch_createrang_0%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9 f12 text-danfei lh200c">[%pack:create_pack-espcms_create_str2%]</div>
							</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_create_ok%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
